package com.hwtx.form.domain.vo;

import lombok.Builder;
import lombok.Getter;

import java.util.Map;

import static com.hwtx.form.domain.FormConstants.INPUT_FORM_PAGE;
import static com.hwtx.form.domain.FormConstants.INPUT_FORM_VALUE_ID;

@Getter
@Builder
public class FormData {
    Map<String, Object> data;
    String user;

    public String getPage() {
        return (String) data.get(INPUT_FORM_PAGE);
    }

    public String getFormValueId() {
        return (String) data.get(INPUT_FORM_VALUE_ID);
    }
}
